package com.wash.shoes.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lijianguo
 * @Date 26/02/2025 20:13
 * 请输入类的简介
 **/
@Data
@ApiModel(value = "统计订单的信息")
public class StsOrderVo implements Serializable {

    @ApiModelProperty(value = "时间的格式")
    private String dateStr;

    @ApiModelProperty(value = "总价 = 订单金额 - 优惠价格")
    private double totalPrice;

    @ApiModelProperty(value = "订单金额")
    private double orderPrice;

    /* */
    @ApiModelProperty(value = "鞋子数量")
    private long shoeNum;
    /**
     * 衣服数量
     */
    private long yifuCount;
    /**
     * 鞋子数量

     private Long shoeCount;  */
    /**
     * 其他数量
     */
    private long otherCount;

    @ApiModelProperty(value = "订单数量")
    private long orderNum;

    @ApiModelProperty(value = "总数量")
    private long num;
    /**
     * 2025-10-15增加 核销数量和核销金额字段 begin
     */
    @ApiModelProperty(value = "核销数量")
    private long writeNum;

    @ApiModelProperty(value = "核销金额")
    private double writeAmount;

    /**
     * 2025-10-15增加 核销数量和核销金额字段 end
     */
    public long getNum() {
        num = shoeNum + yifuCount + otherCount;
        return num;
    }

    @ApiModelProperty(value = "店铺的名字")
    private String shopName;

    @ApiModelProperty(value = "店铺的ID")
    private String shopId;
}
